<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
import { EnumUtility } from '@/utils/EnumUtility'
export default {
  name: 'App',
  mounted() {
    this.queryAll()
  },
  methods: {
    async  queryAll() {
      const result = await this.$api.dic.queryAll()
      if (result.code = '100') {
        const enumUtility = new EnumUtility()
        enumUtility.Set(result.data)
      }
    }
  }
}
</script>
